package ua.dogar.exceptions;

public class VectorIndexOutOfBoundsException extends IndexOutOfBoundsException{
	private int index;
	public VectorIndexOutOfBoundsException(){
		super();
	}
	public VectorIndexOutOfBoundsException(int index){
		this.index = index;
	}
	@Override
	public String toString() {
		return "Wrong index-["+index+"]";
	}
}
